package com.ruoyi.warehouse.mapper;

import java.util.List;
import com.ruoyi.warehouse.domain.MWarehouse;

/**
 * 仓库表Mapper接口
 * 
 * @author ruoyi
 * @date 2024-10-24
 */
public interface MWarehouseMapper 
{
    /**
     * 查询仓库表
     * 
     * @param warehouseId 仓库表主键
     * @return 仓库表
     */
    public MWarehouse selectMWarehouseByWarehouseId(Long warehouseId);

    /**
     * 查询仓库表列表
     * 
     * @param mWarehouse 仓库表
     * @return 仓库表集合
     */
    public List<MWarehouse> selectMWarehouseList(MWarehouse mWarehouse);

    /**
     * 新增仓库表
     * 
     * @param mWarehouse 仓库表
     * @return 结果
     */
    public int insertMWarehouse(MWarehouse mWarehouse);

    /**
     * 修改仓库表
     * 
     * @param mWarehouse 仓库表
     * @return 结果
     */
    public int updateMWarehouse(MWarehouse mWarehouse);

    /**
     * 删除仓库表
     * 
     * @param warehouseId 仓库表主键
     * @return 结果
     */
    public int deleteMWarehouseByWarehouseId(Long warehouseId);

    /**
     * 批量删除仓库表
     * 
     * @param warehouseIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMWarehouseByWarehouseIds(Long[] warehouseIds);
}
